﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace AsianHouse.Domain.Repositories
{
    public interface IRepository<T>
    {
        T FindById(object id);
        IQueryable<T> GetAll();
        void Save(T obj);
        void Delete(T obj);
        void Update(T obj);
        IQueryable<T> Filter(Func<T, bool> predicate);
    }


    public interface IRepository
    {
        long GetID();
    }
}